<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<title></title>
		<link rel="stylesheet" type="text/css"
			href="${contextPath}/resource/css/default.css" />
		<script src="${contextPath}/resource/js/index.js"></script>
		<script src="${contextPath}/resource/js/prototype-1.6.0.2.js"></script>
		<script src="${contextPath}/resource/js/menu.js"></script>

	</head>

	<body >
	<s:form action="menuAction_update.do" method="post" namespace="/" onsubmit="return isSubmit('menu.name','resultMenuName')">
				<s:hidden name="menu.id"/>
				<s:hidden name="menu.parentid"/>
				<s:hidden name="menu.prmssCd"/>
			<table class="menu_table">
				<tr>
					<th>
						<a href="menuAction_find.do">菜单管理</a>&gt;&gt;修改菜单
					</th>
				</tr>
			</table>
				<div class="listtable">
<div class="secondDiv">
			<table class="form_table">
				<tr>
					<th width="22%">
						菜单名
					</th>
					<td width="78%">
						<s:textfield name="menu.name" value="%{menu.name}" id="menu.name"
							size="30" maxlength="50"
							onblur="validate('menu.name','resultMenuName')" />
						<span class="txtblue" id="resultMenuName">*</span>
					</td>
				</tr>

				<tr>
					<th>
						打开方式
					</th>
					<td>
					<s:select name="menu.open" list="#{'':'右边','_blank':'新窗口打开'}"></s:select>
					</td>
				</tr>
				<tr>
					<th>
						是否是菜单
					</th>
					<td>
					<s:select list="flgMap" name="menu.ismenu"></s:select>
					</td>

				</tr>
				<tr>
					<th>
						排序方式
					</th>

					<td>
						<s:textfield name="menu.orders" value="%{menu.orders}"
							id="menu.orders" size="30" maxlength="5" />
					</td>
				</tr>
				<tr>
					<th>
						URL
					</th>
					<td>
						<s:textfield name="menu.url" value="%{menu.url}" id="gathercount"
							size="50" maxlength="200" />
					</td>
				</tr>
				
				<tr>
					<th>
						模块代码
					</th>
					<td>
						<s:textfield name="menu.modeTypeCode" id="menu.modeTypeCode"  value="%{menu.modeTypeCode}" size="20"
							maxlength="15" />
					</td>
				</tr>
				<tr>
					<th>
						是否有效
					</th>
					<td>
					<s:select list="flgMap" name="menu.vldMrk"></s:select>
					</td>
				</tr>
			</table>
		<table width="50%" border="0" align="center" cellpadding="3" cellspacing="1">
			<s:token></s:token>
		    <tr>
		      <td align="center"  >
		      <div align="center">
		        <input type="submit" id="subbut" value="" class="apply_style" align="middle" />
		        <input type="button" onclick="javascript:location='menuAction_list.do'" class="back_style"  />
		        <input type="reset" id="重置 " class="reset_style" value=""/>
		       </div>
		       </td>
		    </tr>
		</table>
			</div>
			</div>
		</s:form>
	</body>
</html>
